Total Complexity | 15 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 89 |
Lines of code | 42 |
Logical lines of code | 22 |
Comment lines | 35 |
Methods | 6 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
hooks() | 58 | 6 | 15 | |
addToCart() | 71 | 2 | 6 | |
singleAddToCart() | 71 | 2 | 6 | |
removeFromCart() | 71 | 2 | 6 | |
updateCartOrCheckout() | 71 | 2 | 6 | |
__construct() | 80 | 1 | 3 |